翻訳と辞書
Words near each other
・ Trace gas
・ Trace heating
・ Trace identity
・ Trace inequalities
・ Trace Junction, West Virginia
・ Trace Lake
・ Trace metal
・ Trace Metal Detection Test
・ Trace mineral analysis
・ Trace monoid
・ Trace of Stones
・ Trace operator
・ Trace radioisotope
・ Trace scheduling
・ Trace State Park
Trace table
・ Trace theory
・ Trace tree
・ Trace Urban
・ Trace vector decoder
・ Trace VFX
・ Trace Zero Cryptography
・ Trace, West Virginia
・ Trace-based simulation
・ Traceability
・ Traceability matrix
・ Traceability of genetically modified organisms
・ TRACECA
・ Traced in Air
・ Traced monoidal category


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Trace table : ウィキペディア英語版
Trace table
A trace table is a technique used to test algorithms, in order to make sure that no logical errors occur whilst the algorithm is being processed. The table usually takes the form of a multi-column, multi-row table; With each column showing a variable, and each row showing each number input into the algorithm and the subsequent values of the variables.
Trace tables are typically used in schools and colleges when teaching students how to program. They can be an essential tool in teaching students how a certain algorithm works and the systematic process that is occurring when the algorithm is executed. They can also be useful for debugging applications, helping the programmer to easily detect what error is occurring, and why it may be occurring.
== Example ==

int i, x = 0;
for (i = 1; i <= 10; i++)

This example shows the systematic process that takes place whilst the algorithm is processed. The initial value of ''x'' is zero, but ''i'', although defined, has not been assigned a value. Thus, its initial value is unknown. As we execute the program, line by line, the values of ''i'' and ''x'' change, reflecting each statement of the source code in execution. Their new values are recorded in the trace table. When ''i'' reaches the value of ''11'' because of the ''i++'' statement in the ''for'' definition, the comparison ''i <= 10'' evaluates to false, thus halting the loop. As we also reached the end of the program, the table test also ends.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Trace table」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.